projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71089a
)
builtin icon: Don't save/restore cairo state
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 Jan 2016 05:01:14 +0000
(
00:01
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 13 Jan 2016 05:01:14 +0000
(
00:01
-0500)
The reason why this was introduced is now handled in
gtk_css_stylke_render_icon since commit
0138af9f9684c0ec436b37e5962e9f82607d3ff8
.
gtk/gtkbuiltinicon.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbuiltinicon.c
b/gtk/gtkbuiltinicon.c
index 1abf04d4665936241fb125c5416841e148cb41a4..8e543e5f11f6eb4bc6bfc120581a806331404e86 100644
(file)
--- a/
gtk/gtkbuiltinicon.c
+++ b/
gtk/gtkbuiltinicon.c
@@
-123,13
+123,11
@@
gtk_builtin_icon_draw (GtkCssGadget *gadget,
{
GtkBuiltinIconPrivate *priv = gtk_builtin_icon_get_instance_private (GTK_BUILTIN_ICON (gadget));
- cairo_save (cr);
gtk_css_style_render_icon (gtk_css_gadget_get_style (gadget),
cr,
x, y,
width, height,
priv->image_type);
- cairo_restore (cr);
return FALSE;
}